#ifndef _DATA_DFTIME_H_
#define _DATA_DFTIME_H_
#include <stdio.h>
#include "typedef.h"

#define DF_TIME_NANOSES_PER_US  (1000)
#define DF_TIME_NANOSES_PER_MS   (1000 * DF_TIME_NANOSES_PER_US)
#define DF_TIME_NANOSES_PER_S   (1000 * DF_TIME_NANOSES_PER_MS)

uint64 get_current_time(void);
uint64 time_diff_s(uint64 st, uint64 et);
uint64 time_diff_ns(uint64 st, uint64 et);

#endif